package com.rpoonolly.simplegame.textures;

import java.io.Serializable;

public final class TextureId implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public final TextureFileDescriptor textureFile;
	public final int tileX, tileY;
	
	public TextureId(TextureFileDescriptor texture, int tileX, int tileY) {
		this.textureFile = texture;
		this.tileX = tileX;
		this.tileY = tileY;
	}
	
	@Override
	public String toString() {
		return "x:" + tileX + "\ty:" + tileY + "\tfile:" + textureFile;
	}
}
